Interview Questions and Answer
Options:
a. Program Execution starts with method which has static keyword
b. Since static members are allocated memory when the class is loaded
c. Since static methods are automatically loaded into memory when class is loaded by the CLR (that calls Main method).
d. None
Reveal Answer
Options:
a. Yes, an Application can have more than one valid Main, but any one of them has to be mentioned as Startup object.
b. No, Every application should have only one Main
c. Yes, an application can have more than one Main; we can set multiple start up object.
Reveal Answer
Options:
a. Solution & .VBproj
b. .sln & . VBproject
c. .sln & . vbproj
Reveal Answer
Options:
a. Complier allows user to manually track flow of the application code when application is executed in StartWithout Debugging mode whereas Startwithdebugging mode directly runs the application.
b. Complier allows user to manually track flow of the application code when running application in Start Debugging mode whereas Start without debugging directly runs the application.
Reveal Answer
Options:
a. Every public member of a module is treated as Global member.
b. Every member of a module can be accessed from any part of the application without explicitly using module name
Reveal Answer
Options:
a. Return value of Main used by the current application to communicate its state to the parent process
b. Return value of main is used for Communicating its state with other methods of the Application.
Reveal Answer
Options:
a. Instances can be created from a class, but not from a module.
b. Instances can be created for a class and Module. The scope of the members of a class and Module is for lifetime of the object.
Reveal Answer
Options:
a. Same file
b. Different files
c. Same file or Different files
d. Different project
Reveal Answer
Options:
a. void,string,float
b. void ,double,int
c. void, int
d. string
Reveal Answer
Options:
a. Is an Operating System
b. Is a Rapid Application Development (RAD) tool
c. Is a Programming Language
d. Is an Integrated Development Environment (IDE)
e. Is a frontend
Reveal Answer
Options:
a. Express
b. Professional
c. Community
d. Enterprise
Reveal Answer
Options:
a. GUI Applications
b. Utility Programs
c. To develop Language Compilers
d. Browser Based Applications
Reveal Answer
Options:
a. public static void Main()
b. public static void Main(string args)
c. public int Main(string[] args)
d. public static int Main(int[] args)
e. public static void Main(string[] args)
Reveal Answer
Options:
a. True
b. False
Reveal Answer
Options:
a. void, float
b. double, int
c. void, int
d. string, int
Reveal Answer
Options:
a. only one file
b. must be in different files
c. either in same file or different files
d. different project
Reveal Answer
Options:
a. only one file
b. must be in different files
c. either in same file or different files
d. different project
Reveal Answer
Options:
a. 128 characters
b. 256 characters
c. 67 characters
d. It may vary from one operating system to another
Reveal Answer
Bestdotnet google plus